package com.fowo.api.syncAmazon.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.fowo.api.entity.AmazonSalesStatement;
import com.fowo.api.syncAmazon.entity.CurrencyDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface DataConnectivityMonitorMapper {
    @DS("StarRocks")
    CurrencyDetail selectStarRocksById(@Param("currencyDetail") CurrencyDetail currencyDetail);

    @DS("ds24")
    CurrencyDetail selectById(@Param("id") Integer id);

    @DS("ds24")
    void insert(@Param("currencyDetail") CurrencyDetail currencyDetail);

    @DS("ds24")
    void update(@Param("currencyDetail") CurrencyDetail currencyDetail);

    @DS("ds24")
    void deleteById(@Param("id") Integer id);
}
